Here is my Interface, and i wanted the user to input only the date of his birth這是我的代碼。我想禁用未來日期和我的「出生日期」字段的當前日期禁用未來日期和當前日期
<div class="form-group">
<label class="control-label"
for="personal_information.date_of_birth">Date of Birth</label>
<input class="form-control"
rv-value="data.personal_information.date_of_birth"
name="dateOfBirth" id="dateOfBirth" data-validate="required"
data-mask="yyyy-mm-dd" placeholder="Pre-formatted birth date" />
</div>
禁用日期從哪裏? – Lal
好的,真的不明白這個問題......以爲你有多個字段,如果這樣'禁用'會這樣做 – BeNice
@OldMauiMan,但你仍然回答.. – Lal