The state of Texas has issued a ban on all electronic devices on school premises.