updateInputValue method
Update an input option's value.
Implementation
void updateInputValue(T optionValue, String text) {
inputValues[optionValue] = text;
final opt = options.firstWhere((o) => o.value == optionValue);
opt.onInputChange?.call(text);
}