我使用quickdialog来使用动态表单。 Web服务使用quickdialog JSON构建表单。 对于QDateTimeInlineElement,他为我提供了这个JSON。
{"type":"QDateTimeInlineElement","title":"datum","placeholder":"vul in","bind":"textValue:datum","key":"datum","mode":"Date"},
{"type":"QDateTimeInlineElement","title":"tijd","placeholder":"vul in","bind":"textValue:tijd","key":"tijd","mode":"Time"},
{"type":"QDateTimeInlineElement","title":"datumtijd","placeholder":"vul in","bind":"textValue:datumtijd","key":"datumtijd","mode":"DateAndTime"},
在我的代码中,我使用以下代码将所有值放在字典中。
NSMutableDictionary *script = [NSMutableDictionary new];
[self.root fetchValueUsingBindingsIntoObject:script];
但是当我查看这本词典的输出时,我注意到以下LOG
Date = "00:00:-34";
DateTime = "00:00:-34";
TIME = "00:00:-34";
有人可以帮我这个吗?亲切的问候!