Ways to not allow decimal entry on numeric entry field

Hello everyone,

Is there a way to not allow decimal entry on numeric entry field?
I already know about format which is used to show the value with decimal or as integer, etc., but I am looking for a way to just eliminate entering decimals into my numeric field.

You can add a change script and cast it to int.

self.props.value = int(self.props.value)

You could also focus on something else on a keyDown event.

	if event.key == '.':
		self.getSibling("Table_2").focus()