0

I make the React App and I need to show only the value and hide the label from the datalist. Here is my code below

<datalist id="options">
  <option value="Asia" label="Азия"/>
</datalist>

Or this

<datalist id="options">
  <option value="Asia">Азия</option>
</datalist>

Screenshot So expected result is hide "Азия" That's how it looks

Oleg Om
  • 429
  • 5
  • 15

0 Answers0