Widget for input to change number, string item value

Hi, im using a text input widget like:

<div class="form-group">
    <input type="text" class="form-control" no-snap-drag="false"
           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>
  </div>

String item ip_address is stored persistent in Influxdb. It will be refreshed to the last value after openhab restart. But on press from send button the value is substituded with empty value.
How can I modify the yaml code that button input sends displayed stored value please ?
HabpanelProblem

2022-12-15 16:36:45.184 [vent.ItemStateChangedEvent] - ip_address changed from 212.89.229.22 to