mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
[ Bug fixed ]: GraphQL headers url paramaters key value UI is not as expected (#5116)
* bug fixed : GraphQL headers & url paramateres key & value UI is not as expected. * made the suggested changes
This commit is contained in:
parent
59d2acfb88
commit
4955689281
1 changed files with 8 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ export default ({ getter, options = [['', '']], optionchanged }) => {
|
|||
value={option[0]}
|
||||
placeholder="key"
|
||||
autoComplete="off"
|
||||
className="form-control no-border"
|
||||
className="form-control"
|
||||
onChange={(e) => keyValuePairValueChanged(e, 0, index)}
|
||||
/>
|
||||
</td>
|
||||
|
|
@ -50,7 +50,7 @@ export default ({ getter, options = [['', '']], optionchanged }) => {
|
|||
<input
|
||||
type="text"
|
||||
value={option[1]}
|
||||
className="form-control no-border"
|
||||
className="form-control"
|
||||
placeholder="value"
|
||||
autoComplete="off"
|
||||
onChange={(e) => keyValuePairValueChanged(e, 1, index)}
|
||||
|
|
@ -69,8 +69,12 @@ export default ({ getter, options = [['', '']], optionchanged }) => {
|
|||
</td>
|
||||
)}
|
||||
{index === 0 && (
|
||||
<td>
|
||||
<button className="btn btn-sm btn-primary" onClick={addNewKeyValuePair}>
|
||||
<td style={{ paddingRight: 0 }}>
|
||||
<button
|
||||
className="btn btn-sm btn-primary"
|
||||
onClick={addNewKeyValuePair}
|
||||
style={{ height: '36px', width: '100%' }}
|
||||
>
|
||||
Add
|
||||
</button>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue