validate for all extracted slots
@@ -251,9 +251,10 @@ class FormAction(Action):
# extract requested slot
slot_to_fill = tracker.get_slot(REQUESTED_SLOT)
if slot_to_fill:
- for slot, value in self.extract_requested_slot(dispatcher,
+ slot_values.update(self.extract_requested_slot(dispatcher,
tracker,
- domain).items():
+ domain))
+ for slot, value in slot_values.items():
validate_func = getattr(self, "validate_{}".format(slot),
lambda *x: value)
slot_values[slot] = validate_func(value, dispatcher, tracker,
