YAML Text String item value input

My example for item ip_address:

<div class="form-group">
    <input type="text" class="form-control" no-snap-drag="true"
           ng-model="myvalue1" ng-value="itemValue('ip_address')"></input>
    <button type="button" class="btn btn-primary"
           ng-click="sendCmd('ip_address', myvalue1)">Local IP address</button>

Item is stored as String in Influxdb with option restoreOnStartup, so the value can be read out in case of restart of openhab2. The value is displayed according stored value.
But if I press the value setting button, the current displayed value will be deleted and will be substituted with empty string.
Any idea how to resolve that the displayed value will be succesfully passed to item please ?
Thank’s for help.


2022-12-15 12:02:57.121 [ome.event.ItemCommandEvent] - Item ‘ip_address’ received command
2022-12-15 12:02:57.123 [vent.ItemStateChangedEvent] - ip_address changed from to