Fixed disabled and read-only modes of InlineDateField (#10262)

Change-Id: If95d50954a4122b1039174ffcacd7874f7f1f71e