fix data-readonly: just work for input