feat: swap Tag Name and Tag Number fields in DetailTag component

This commit is contained in:
2025-10-15 21:25:17 +07:00
parent 4e2da7d4fa
commit 1bde2a0fd0

View File

@@ -393,17 +393,6 @@ const DetailTag = (props) => {
</div> </div>
</div> </div>
</div> </div>
<div style={{ marginBottom: 12 }}>
<Text strong>Tag Name</Text>
<Text style={{ color: 'red' }}> *</Text>
<Input
name="tag_name"
value={FormData.tag_name}
onChange={handleInputChange}
placeholder="Enter Tag Name"
readOnly={props.readOnly}
/>
</div>
<div style={{ marginBottom: 12 }}> <div style={{ marginBottom: 12 }}>
<Text strong>Tag Number</Text> <Text strong>Tag Number</Text>
<Text style={{ color: 'red' }}> *</Text> <Text style={{ color: 'red' }}> *</Text>
@@ -415,6 +404,17 @@ const DetailTag = (props) => {
readOnly={props.readOnly} readOnly={props.readOnly}
/> />
</div> </div>
<div style={{ marginBottom: 12 }}>
<Text strong>Tag Name</Text>
<Text style={{ color: 'red' }}> *</Text>
<Input
name="tag_name"
value={FormData.tag_name}
onChange={handleInputChange}
placeholder="Enter Tag Name"
readOnly={props.readOnly}
/>
</div>
<div style={{ marginBottom: 12 }}> <div style={{ marginBottom: 12 }}>
<Text strong>Data Type</Text> <Text strong>Data Type</Text>
<Text style={{ color: 'red' }}> *</Text> <Text style={{ color: 'red' }}> *</Text>